package com.oneday;

public class Demo2 {

    public static void main(String[] args) {

        //声明变量

        //数值类型
        /*整型,int,long,short*/
        int age=12;
        long uAge=12;
        short uAge1=13;
        /*
        * 浮点类型double,float
        * */
        double money=12.766;
        float money1=12;
        System.out.println(age);
        System.out.println(money);
        //非数值
        /*
        * 字符串：String
        * */
        String uName="lisi";
        String uName1="12";
        /*字符类型:char*/
        char sex='男';
        /*boolean:存储一种结果，true/false */
        boolean isOk=true;
        boolean isOk1=false;
    }
}
